Skip to content

fix: require PHPStan 2.2 for the lowest-deps lane (v3.0.1) - #60

Merged
lam0819 merged 2 commits into
mainfrom
sync/phpstan-2.2
Nov 26, 2026
Merged

lam0819 merged 2 commits into
mainfrom
sync/phpstan-2.2

Conversation

@lam0819

@lam0819 lam0819 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

The PHP 8.3 prefer-lowest job resolved PHPStan 2.0.0. That version does not understand unsealed array shapes (array{from: string, to: string, ...<string, mixed>}) or the current pcntl stubs, so it reported 6 false errors on v3.0.0. The require-dev floor is now ^2.2. Locally: prefer-lowest (PHPStan 2.2.0) and prefer-stable (2.2.13) are both clean, and 222 tests pass. Synced from forestops-platform via git subtree; please merge with a merge commit.

@lam0819
lam0819 merged commit 8e585b9 into main Nov 26, 2026
7 checks passed
@lam0819
lam0819 deleted the sync/phpstan-2.2 branch November 26, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant